<!DOCTYPE html>

<html>
<head>
	
	<title>Axis Labels and Rotated Text</title>

    <link class="include" rel="stylesheet" type="text/css" href="css/jquery.jqplot.min.css" />
  
  <!--[if lt IE 9]><script language="javascript" type="text/javascript" src="../excanvas.js"></script><![endif]-->
    <script class="include" type="text/javascript" src="js/jquery.min.js"></script>
    
   
</head>
<body>
    
    <div class="example-plot" id="chart2"></div>  
<!-- Example scripts go here -->

    <style type="text/css">
      .jqplot-point-label {white-space: nowrap;}
/*    .jqplot-yaxis-label {font-size: 14pt;}*/
/*    .jqplot-yaxis-tick {font-size: 7pt;}*/

    div.jqplot-target {
        height: 200px;
        width: 300px;
        margin: 20px;
    }
    </style>   
        
	<script class="code" type="text/javascript">
	$(document).ready(function(){
	  // Our ajax data renderer which here retrieves a text file.
	  // it could contact any source and pull data, however.
	  // The options argument isn't used in this renderer.
	  var ajaxDataRenderer = function(url, plot, options) {
	    var ret = null;
	    $.ajax({
	      // have to use synchronous here, else the function 
	      // will return before the data is fetched
	      async: false,
	      url: url,
	      dataType:"json",
	      success: function(data) {
	        ret = data;
	      }
	    });
	    return ret;
	  };
	
	  // The url for our json data
	  var jsonurl = "chartJson.do";
	
	  // passing in the url string as the jqPlot data argument is a handy
	  // shortcut for our renderer.  You could also have used the
	  // "dataRendererOptions" option to pass in the url.
	  var plot2 = $.jqplot('chart2', jsonurl,{
	    title: "Error Log Progress",
	    dataRenderer: ajaxDataRenderer,
	    dataRendererOptions: {
	      unusedOptionalUrl: jsonurl
	    }
	  });
	});
	</script>

<!-- End example scripts -->

<!-- Don't touch this! -->


    <script type="text/javascript" src="js/jquery.jqplot.min.js"></script>
<!-- Additional plugins go here -->

    <script class="include" language="javascript" type="text/javascript" src="js/plugins/jqplot.json2.min.js"></script>

<!-- End additional plugins -->


</body>


</html>